from django.conf.urls import url
from django.contrib import admin
from .views import userviews,indexviews,goodsviews
urlpatterns = [
    url(r'^$', indexviews.index,name='myadmin_index'),
	
    url(r'^userlist/$', userviews.userlist,name='myadmin_userlist'),

    url(r'^adduser/$', userviews.adduser,name='myadmin_adduser'),

    url(r'^deluser/$', userviews.deluser,name='myadmin_deluser'),
    
    url(r'^edituser/$', userviews.edituser,name='myadmin_edituser'),

    url(r'^repwd/$', userviews.repwd,name='myadmin_repwd'),

    url(r'^restatus/$', userviews.restatus,name='myadmin_restatus'),
    #商品类路由
    url(r'^goodslist/$', goodsviews.goodslist,name='myadmin_goodslist'),

    url(r'^addgoods/$', goodsviews.addgoods,name='myadmin_addgoods'),

    url(r'^delgoods/$', goodsviews.delgoods,name='myadmin_delgoods'),

    url(r'^rename/$', goodsviews.rename,name='myadmin_rename'),
    



    
]
